package com.whlilong.jxc.treemodel;

import java.util.ArrayList;
import java.util.List;


public class MerchantTypeTreeParent {
		private String kstype;
		
		private List<MerchantTypeTreeChildren> KstypeTreeChildren;
		
		public MerchantTypeTreeParent(String kstype){
			this.kstype = kstype;
			KstypeTreeChildren = new ArrayList<MerchantTypeTreeChildren>();
			
		}
		
		//添加子节点
		public void add(MerchantTypeTreeChildren ks){
			KstypeTreeChildren.add(ks);
			ks.setKstypeParent(this);
		}

		public String getKstype() {
			return kstype;
		}

		public void setKstype(String kstype) {
			this.kstype = kstype;
		}

		public List<MerchantTypeTreeChildren> getKstypeTreeChildren() {
			return KstypeTreeChildren;
		}

		public void setKstypeTreeChildren(List<MerchantTypeTreeChildren> kstypeTreeChildren) {
			this.KstypeTreeChildren = KstypeTreeChildren;
		}

}
